package com.xinou.daily_report.VO.daily;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author lizhongyuan
 */
@Data
public class DailyListVO {

    @ApiModelProperty(value = "日报id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long workerId;

    @ApiModelProperty(value = "用户姓名")
    private String workerName;

    @ApiModelProperty(value = "状态。0表示未点评、1表示未回复、2表示已回复")
    private Integer status;

    @ApiModelProperty(value = "0 正常 1 补缴日报")
    private Integer state;

    @ApiModelProperty(value = "是否已阅")
    private Boolean isRead;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm", timezone="GMT+8")
    private LocalDateTime gmtCreate;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm", timezone="GMT+8")
    private LocalDateTime gmtModified;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm", timezone="GMT+8")
    private LocalDateTime insertTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd", timezone="GMT+8")
    private LocalDate dailyTime;

}